package com.aspose.cells;

class zbkx extends zcj {
   zbkx(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
   }

   void a() {
      float var1 = this.g;
      float var2 = this.h;
      float var3 = this.e.f();
      float var4 = this.e.g();
      float var5 = 0.0F;
      float var6 = 0.0F;
      com.aspose.cells.b.a.b.zq var7 = new com.aspose.cells.b.a.b.zq(var1, var2, var3, var4);
      com.aspose.cells.b.a.b.a.ze var8 = new com.aspose.cells.b.a.b.a.ze();
      var8.b(var7);
      com.aspose.cells.b.a.b.zc var9 = zbul.a(this.e.l(), var8);
      com.aspose.cells.b.a.b.zm var10 = zbul.a(this.e.m());
      if (this.e.l.a.size() == 2) {
         var6 = var3 - var3 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
         var5 = var4 - 2.0F * (var4 * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(1)).a()) / 21600.0F);
      } else if (this.e.l.a.size() == 1) {
         if (((zak)this.e.l.a.get(0)).a() == 327) {
            var5 = var4 - 2.0F * var4 * 0.27027777F;
            var6 = var3 - var3 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
         } else {
            var5 = var3 - var3 * (com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F);
            var6 = var3 - var3 * 0.7558333F;
         }
      } else {
         var6 = var3 - var3 * 0.7558333F;
         var5 = var4 - 2.0F * var4 * 0.27027777F;
      }

      float var11 = var3 - var6;
      float var12 = (var4 - var5) / 2.0F;
      float var13 = var4 - 2.0F * var12;
      float var15 = 0.03333F * var3;
      float var16 = 0.06065F * var3;
      com.aspose.cells.b.a.b.zq var17 = new com.aspose.cells.b.a.b.zq(var1, var2 + var12, var15, var13);
      com.aspose.cells.b.a.b.zq var18 = new com.aspose.cells.b.a.b.zq(var1 + 0.06444F * var3, var2 + var12, var16, var13);
      com.aspose.cells.b.a.b.zo[] var19 = new com.aspose.cells.b.a.b.zo[7];
      com.aspose.cells.b.a.b.a.ze var20 = new com.aspose.cells.b.a.b.a.ze();
      var19[0] = new com.aspose.cells.b.a.b.zo(var1 + 0.15777F * var3, var2 + var12);
      var19[1] = new com.aspose.cells.b.a.b.zo(var1 + var11, var2 + var12);
      var19[2] = new com.aspose.cells.b.a.b.zo(var1 + var11, var2);
      var19[3] = new com.aspose.cells.b.a.b.zo(var1 + var3, var2 + var4 / 2.0F);
      var19[4] = new com.aspose.cells.b.a.b.zo(var1 + var11, var2 + var4);
      var19[5] = new com.aspose.cells.b.a.b.zo(var1 + var11, var2 + var4 - var12);
      var19[6] = new com.aspose.cells.b.a.b.zo(var1 + 0.15777F * var3, var2 + var4 - var12);
      var20.b(var19);
      if (!this.e.l().a()) {
         this.a.b(var9, var17);
         this.a.b(var9, var18);
         this.a.a(var9, var20);
      }

      if (!this.e.m().a()) {
         this.a.c(var10, var1, var2 + var12, var15, var13);
         this.a.c(var10, var1 + 0.06444F * var3, var2 + var12, var16, var13);
         this.a.a(var10, var20);
      }

      super.b();
   }
}
